﻿Imports System.Configuration

''' <summary>
''' アプリケーション設定
''' </summary>
''' <remarks></remarks>
Public Class SettingElemnt
    Inherits ConfigurationSection

    ''' <summary>
    ''' 名前
    ''' </summary>
    <ConfigurationProperty("name", IsKey:=True)>
    Public Property Name() As String
        Get
            Return DirectCast(Me("name"), String)
        End Get
        Set(ByVal value As String)
            Me("name") = value
        End Set
    End Property

    ''' <summary>
    ''' 値
    ''' </summary>
    <ConfigurationProperty("value", IsRequired:=True)>
    Public Property Value() As String
        Get
            Return DirectCast(Me("value"), String)
        End Get
        Set(ByVal value As String)
            Me("value") = value
        End Set
    End Property

    ''' <summary>
    ''' タグ
    ''' </summary>
    <ConfigurationProperty("tag")> _
    Public Property Tag() As String
        Get
            Return DirectCast(Me("tag"), String)
        End Get
        Set(ByVal value As String)
            Me("tag") = value
        End Set
    End Property
End Class
